@import url('~@/styles/mixin.less');

.foldBox_container {
    position: relative;

    .foldBox {
        position: relative;
        z-index: 10;
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 32px 24px;
        background-color: #fff;
        border-radius: 16px;
        transition: all 0.5s;

        &_expanded {
            box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.08);
        }

        &_header {
            display: flex;
            justify-content: space-between;
            align-items: center;

            &_title {
                .line(1);

                color: #333;
                font-weight: bold;
                font-size: 34px;
                flex: 1;
            }
        }

        &_content {
            display: flex;
            justify-content: space-between;
            &_container {
                width: 100%;
            }
            &_toggle {
                display: flex;
                align-items: flex-end;

                svg {
                    width: 44px;
                    height: 44px;
                    color: #1ebead;
                }

                &_up {
                    transform: rotate(180deg);
                    transition: all 0.3s;
                }
            }
        }
    }
    .foldBox_expand {
        z-index: 1;
        margin-top: -16px;
        padding: 40px 24px 24px 24px;
        background-color: #fff;
        border-radius: 0 0 16px 16px;
    }
}
